package org.example.designPattern.structural.adapter;

/*
* 适配器模式: 通过加入一个适配器，将两个不兼容的接口变得兼容
* */
public class AdapterTest {
    public static void main(String[] args) {
        Client client = new Client(new Adapter(new CurrentClass()));
        client.execute();
    }
}
